package com.rtf.framework.web.mvc.config.secure.configurer.support;

import com.rtf.framework.common.util.UtilString;
import org.springframework.security.web.util.matcher.RequestMatcher;

import javax.servlet.http.HttpServletRequest;

public class AppPostRequestMatcher implements RequestMatcher {
    @Override
    public boolean matches(HttpServletRequest request) {
        return UtilString.equalsIgnoreCase( request.getMethod() , "post" );
    }
}
